package com.woniuxy.microsysserver.feign;
import com.woniuxy.bean.BillBean;
import com.woniuxy.microsysserver.feignfullback.FoundFullBackFactary;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
//基金接口
@FeignClient(value = "cd-finance-micro-fund-service",fallbackFactory = FoundFullBackFactary.class)
public interface FoundFeign {
    @PostMapping(value = "/memberFund/fundEarning" , produces = MediaType.APPLICATION_JSON_VALUE)
    String selectIdByName(@RequestBody BillBean billBean);
}
